package com.cowain.api.commons;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @Author fxw
 * @Date 2022/5/12 21:28
 */
public class SystemUtils {
    /**
     * 判断对象为空
     * @param o
     * @return
     */
    public static boolean isNULL(Object o) {
        return null == o;
    }


    /**
     * 判断字符串为空
     * @param str
     * @return
     */
    public static boolean isNULLEmpty(String str) {
        return null == str||str.trim().equals("");
    }
}
